# -*- coding: utf-8 -*-
from langchain_core.prompts import PromptTemplate

template = PromptTemplate.from_file("example-file.txt")

print(template.format(topic="黑色幽默"))
